package com.lcf.system.controller;


import com.lcf.system.service.TotalPriceService;
import com.lcf.system.vo.TotalPriceVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 收入统计(TotalPrice)表控制层
 *
 * @author lcf
 * @since 2025-05-02 11:55:04
 */
@Tag(name = "收入统计")
@RestController
@RequestMapping("totalPrice")
public class TotalPriceController {
    @Resource
    private TotalPriceService totalPriceService;

    /**
     * 我的收入统计
     */
    @Operation(summary = "我的收入统计")
    @GetMapping("getTotalPrice")
    public TotalPriceVO getTotalPrice() {
        return totalPriceService.getTotalPrice();
    }
}

